﻿<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ page  import="com.auth.TAuthUser" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>top</title>


<script type="text/javascript" src="themes/js/xiaxi/utilities.js"></script>
<script type="text/javascript" src="themes/js/xiaxi/container_core-min.js"></script>
<script type="text/javascript" src="themes/js/xiaxi/carousel.js"></script>


<script type="text/javascript" src="themes/js/jquery.js"></script>
<script type="text/javascript" src="themes/js/styleswitch.js"></script>
<link rel="stylesheet" href="themes/skyblue/skyblueTop.css" type="text/css" title="styles1" />
<link rel="alternate stylesheet" href="themes/orangeyellow/orangeyellowTop.css" type="text/css" title="styles2" />
<link rel="alternate stylesheet" href="themes/darkblue/darkblueTop.css" type="text/css" title="styles3" />
<link rel="alternate stylesheet" href="themes/grayblue/grayblueTop.css" type="text/css" title="styles4" />
<link rel="alternate stylesheet" href="themes/earchyellow/earchyellowTop.css" type="text/css" title="styles5" />
<%
	String userName = "";
	TAuthUser  user = (TAuthUser)request.getSession().getAttribute("user");
	if(user != null)
		userName = user.getName();
%>

<script type="text/javascript">
function reloadPage()
  {
  parent.topControl.location.reload(); 
  parent.leftFrame.location.reload();
  parent.leftControl.location.reload();
  parent.mainFrame.location.reload();

  }
</script>
</head>
<body>
<div id="top">
  <div id="guangao">
  <div id="info-main">
    <div id="info">
      <ul>
        <!--
        <li class="color"><a href="javascript:void(0);"onclick="reloadPage()"rel="styles2" class="styleswitch" ><img src="themes/images/ico/color-y.gif" title="橙黄" width="11" height="11" border="0" longdesc="#" /></a></li>
        -->
        <li class="lift">选择界面风格样式</li>
        <li class="color"><a href="javascript:void(0);"onclick="reloadPage()"rel="styles1" class="styleswitch"><img src="themes/images/ico/color-b.gif" title="天蓝" width="11" height="11" border="0" longdesc="#" /></a></li>
        <!-- 
        <li class="color"><a href="javascript:void(0);"onclick="reloadPage()"rel="styles5"class="styleswitch" ><img src="themes/images/ico/color-th.gif" title="土黄" width="11" height="11" border="0" longdesc="#" /></a></li>
        <li class="color"><a href="javascript:void(0);"onclick="reloadPage()"rel="styles3" class="styleswitch"><img src="themes/images/ico/color-sb.gif" title="深蓝" width="11" height="11" border="0" longdesc="#" /></a></li>
        <li class="color"><a href="javascript:void(0);"onclick="reloadPage()"rel="styles4" class="styleswitch"><img src="themes/images/ico/color-hu.gif" title="灰蓝" width="11" height="11" border="0" longdesc="#" /></a></li>
         -->
      </ul>
    </div>
    </div>
  </div>
  <div id="toolbar">
    <div id="bar">
      <div id="user"></div>
      <div id="userinfo">
        <ul>
          <li> 账号：<%=userName%></li>
        </ul>
      </div>
      <div id="userinfo2">
        <ul class="userlink">
          <li><a href="" target="mainFrame">个人资料</a></li>
          <li><a href="." target="mainFrame">修改密码</a></li>
          <li class="close"><a href="action.com.auth.Logout.do" target='_top'">退出系统</a></li>
        </ul>
      </div>
    </div>
  </div>
</div>
</body>
</html>
